package io.renren.modules.shop.service.shortMsg;

import javax.servlet.http.HttpServletRequest;

import io.renren.modules.shop.entity.shortMsg.ShortMessageModel;
import io.renren.modules.shop.util.JsonResponse;

import io.renren.modules.shop.service.base.IBaseService;

public interface IShortMessageService extends IBaseService<ShortMessageModel> {
	public ShortMessageModel getCodeByPhone(String phone);
	
	public JsonResponse<String> sendMessage(HttpServletRequest request, String phone);
	public JsonResponse<String> checkCode(String phone, Integer code);
}